package mju.cxf.enumeration;

public enum ImageType {
    //头像
    AVATAR("user/avatars/"),
    //分类
    CATEGORY("admin/category/"),
    //评价
    COMMENT("user/comment/"),
    //商品
    PRODUCT("uploads/products/"),
    //广告
    BANNER("uploads/banners/");

    private final String path;

    ImageType(String path) {
        this.path = path;
    }

    public String getPath() {
        return path;
    }
}
